package com.guofen.dao;

import com.guofen.pojo.ShljAbnormalGarbage;
import com.guofen.pojo.ShljBlockageCleaning;
import com.guofen.pojo.ShljBottleCorrodibleSortingStatistic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
@Mapper
public interface ShljBottleCorrodibleSortingStatisticMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(ShljBottleCorrodibleSortingStatistic record);

    int insertSelective(ShljBottleCorrodibleSortingStatistic record);

    ShljBottleCorrodibleSortingStatistic selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(ShljBottleCorrodibleSortingStatistic record);

    int updateByPrimaryKey(ShljBottleCorrodibleSortingStatistic record);

    ShljBottleCorrodibleSortingStatistic findLast();

    List<ShljBottleCorrodibleSortingStatistic> selectAll();

    List<ShljBottleCorrodibleSortingStatistic> selectByDate(@Param("startDate") String startDate,
                                            @Param("endDate") String endDate);
}